s format) This pattern is applicable only when user haven't specified the corresponding pattern in the GUI

Specified by:
getDefaultInputPattern in class DataFieldNumeric
Returns:
String value by default returns null

getInteger

public int getInteger()
               throws java.lang.NumberFormatException,
                      java.text.ParseException
get an integer value

Returns:
float
java.lang.NumberFormatException
java.text.ParseException

CredibleXML
v1.5

Submit a bug or feature

CredibleXML is a trademark or registered trademark of Crediware L.L.C. in the US and other countries.
Copyright 2001-2002 Crediware L.L.C. All Rights Reserved.
DataFieldLong (CredibleXML 1.5 Base Framework Specification)
CredibleXML
v1.5

com.crediware.crediblexml.coredef
Class DataFieldLong

java.lang.Object
  |
  +--com.crediware.crediblexml.coredef.DataElement
        |
        +--com.crediware.crediblexml.coredef.DataField
              |
              +--com.crediware.crediblexml.coredef.DataLayoutField
                    |
                    +--com.crediware.crediblexml.coredef.DataFieldNumeric
                          |
                          +--com.crediware.crediblexml.coredef.DataFieldLong
All Implemented Interfaces:
IXMLPersistable

public class DataFieldLong
extends DataFieldNumeric

Copyright (c) 2001-2002 Crediware LLC. Purpose: This class incapsulate long field behavior for corresponding document element defined in the GUI. Returned by data accessor method generated by GUI tool.


Constructor Summary
DataFieldLong(DataSegment container, MetaData metaData, IExternalDataProvider dataProvider, java.lang.String value)
          constructor creates data element with specified parameters
 
Method Summary
protected  java.lang.String getDefaultInputPattern()
          get default input pattern (pattern used in the business format) This pattern is applicable only when user haven't specified the corresponding pattern in the GUI
protected  java.lang.String getDefaultOutputPattern()
          get default output pattern (pattern in which the date is going to be presented in XML) This pattern is applicable only when user haven't specified the corresponding pattern in the GUI
 long getLong()
          get a long value
 
Methods inherited from class com.crediware.crediblexml.coredef.DataFieldNumeric
formatNumber, getFormattedValue, parseNumber
 
Methods inherited from class com.crediware.crediblexml.coredef.DataLayoutField
getFieldMetaData, getXMLPresentmentType, isVisibleInXML
 
Methods inherited from class com.crediware.crediblexml.coredef.DataField
getAttributesForElement, getLexicalValue, getValue, isElement, populateDataForElement, saveFragmentAsAttribute, saveFragmentAsElement, setValue, toString
 
Methods inherited from class com.crediware.crediblexml.coredef.DataElement
getDataProvider, getEmptyAttribute, getMetaData, getName, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataFieldLong

public DataFieldLong(DataSegment container,
                     MetaData metaData,
                     IExternalDataProvider dataProvider,
                     java.lang.String value)
constructor creates data element with specified parameters

Method Detail

getDefaultOutputPattern

protected java.lang.String getDefaultOutputPattern()
get default output pattern (pattern in which the date is going to be presented in XML) This pattern is applicable only when user haven't specified the corresponding pattern in the GUI

Specified by:
getDefaultOutputPattern in class DataFieldNumeric
Returns:
String value by default returns ###,##0

getDefaultInputPattern

protected java.lang.String getDefaultInputPattern()
get default input pattern (pattern used in the business format) This pattern is applicable only when user haven't specified th